package cn.xzhang.boot.model.vo.wallpaperDetails;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.util.List;

/**
 * 壁纸VO
 *
 * @author <a href="https://github.com/XiaoZhangCode">XiaoZhangCode</a>
 */
@Data
@Schema(description = "壁纸VO")
public class WallpaperDetailsVo implements Serializable {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "壁纸昵称",requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickname;

    @Schema(description = "壁纸描述",requiredMode = Schema.RequiredMode.REQUIRED)
    private String description;

    @Schema(description = "分类ID")
    private Long classId;

    @Schema(description = "分类名称")
    private String className;

    @Schema(description = "壁纸小图URL")
    private String smallPicUrl;

    @Schema(description = "壁纸大图URL")
    private String picUrl;

    @Schema(description = "壁纸标签",requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> tabs;

    @Schema(description = "壁纸评分",requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer score;

    @Schema(description = "浏览量")
    private Integer viewNum;

    @Schema(description = "收藏数")
    private Integer favourNum;

    @Schema(description = "下载量")
    private Integer downloadNum;

    @Schema(description = "状态：0-待审核, 1-通过, 2-拒绝")
    private Integer reviewStatus;

    @Schema(description = "审核信息",requiredMode = Schema.RequiredMode.REQUIRED)
    private String reviewMessage;

    @Schema(description = "审核人id",requiredMode = Schema.RequiredMode.REQUIRED)
    private Long reviewerId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "审核时间",requiredMode = Schema.RequiredMode.REQUIRED)
    private java.util.Date reviewTime;

}
